<template>
  <div class="header_wrap">
    <Return class="return_box"></Return>
    <Time class="time_box"></Time>
    <div class="title_box">
      <span class="title_text">Buka-Admin可视化数据大屏</span>
    </div>
  </div>
</template>

<script>
import { defineComponent } from 'vue';
export default defineComponent({
  name: 'Header',
});
</script>
<script setup>
import Return from './components/return.vue';
import Time from './components/time.vue';
</script>

<style lang="scss" scoped>
.header_wrap {
  width: 100%;
  height: 100px;
  background: url(../../images/header_bg.png);
  background-size: 100% 100%;
  position: relative;
  top: -4px;

  .return_box {
    position: absolute;
    top: 20%;
    left: 2%;
  }

  .time_box {
    position: absolute;
    left: 85%;
    top: 20%;
  }

  .title_box {
    height: 100px;
    width: 600px;
    font-size: 35px;
    line-height: 100px;
    letter-spacing: 5px;
    text-align: center;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    .title_text {
      color: white;
      font-family: 'fontShuHeiTi';
    }
  }
}
</style>
